﻿using Microsoft.Data.Sqlite;
using System;
using System.Data;
using System.Data.Common;

namespace DBUtil.Provider.Sqlite;

/// <summary>
/// 自己实现的数据装配器
/// </summary>
public class SqliteDataAdapter : DataAdapter
{
    public SqliteDataAdapter(SqliteCommand command)
    {
        Command = command;
    }
    public MissingMappingAction MissingMappingAction { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }
    public MissingSchemaAction MissingSchemaAction { get => throw new NotImplementedException(); set => throw new NotImplementedException(); }

    public ITableMappingCollection TableMappings => throw new NotImplementedException();

    public SqliteCommand Command { get; }

    public int Fill(DataSet dataSet)
    {
        throw new NotImplementedException();
    }

    public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType)
    {
        throw new NotImplementedException();
    }

    public IDataParameter[] GetFillParameters()
    {
        throw new NotImplementedException();
    }

    public int Update(DataSet dataSet)
    {
        throw new NotImplementedException();
    }
}
